﻿var h_h	= "<div class='hlp_head'>Help</div><div class='hlp_txt'><br>&nbsp;&nbsp; Help - Window.<br><br></div>"
	
var t_rt = "<div class='hlp_head'>Random timer</div><div class='hlp_txt'>In set intervals the relay/socket is switched with 50% probability. It may happen that a several of successive intervals do not change the state of the relays. For this reason, you should avoid large intervals (intervals 3 x 2 hours = 6 hours).</div>"
	
var io_rel = "<div class='hlp_head'>Switch relay with I/O </div><div class='hlp_txt'>The relay can be switched thru IO's. The 'Control' determined the switching edge.</div>"
	
var io_fl = "<div class='hlp_head'>Switching edge</div><div class='hlp_txt'>If the function „Switch relay(s) thru I/O“ is used, with the „Control“ can be determined type of activation:\
	<br>\
	H - Level control: IO is high (H) = the relay is on; is IO low (L) = relay is off.<br>\
	LH - On at rising edge: from L (0) to H (1); off manually.<br>\
	HL - Off at falling edge from H to L; on manually.<br>\
	TL - Toggle on a rising edge from L to H.<br>\
	TH - Toggle on falling edge from H to L.</div>"
	
var io_inv = "<div class='hlp_head'>Invert</div><div class='hlp_txt'>Meaning the inversion is - regardless of the type of switching (NO or NC) - all desired keys represent the same.</div>"

var io_pull = "<div class='hlp_head'>Pullup Resistor</div><div class='hlp_txt'>A pullup resistor 'pulls' the input to the logical '1' (approximately 2.5V). This allows to switch - connected between GND and an input - directly (without additional elements).</div>"	
	
var h_host = "<div class='hlp_head'>Host</div><div class='hlp_txt'>Host Name = name of the device must be unique on the network. No special characters or spaces may be used. Max. 15 characters.</div>"

var h_dhcp = "<div class='hlp_head'>DHCP</div><div class='hlp_txt'>Most networks have a DHCP server (also available in a DSL router), so the network setting is automated.\
 After switching device on the DHCP function provide all necessary parameters to connect to the network.<br />\
NET PwrCtrl can be called in the browser with the address: http://net-control.</div>"

var h_fest_ip = "<div class='hlp_head'>Fixed IP</div><div class='hlp_txt'>For a fixed IP of the network card the following parameters to be awarded:\
<p>IP: 192.168.0.1; <br>\
Subnet Mask: 255.255.255.0.<br>\
DHCP  off.</p>\
<p>NET PwrCtrl can to be called now via browser with the address: http://net-control or http://192.168.0.244.</p>\
<p>It involves factory parameters. It can of course also be entered any IP.</p></div>"

var h_port = "<div class='hlp_head'>HTTP Port</div><div class='hlp_txt'>0-65535<br>\
If the default port 80 have to be changed, because several units have to be addressed from the Internet or to operate HTTP server, must specify after the hostname ':' + port number: \ http://net-control:12345.</div>"

var h_mac = "<div class='hlp_head'>MAC</div><div class='hlp_txt'><b>MAC</b> must be unique on the network and can not be changed.<br />\
	The last three digits are the serial number.</div>"
	
var h_ajax = "<div class='hlp_head'>UDP Control</div><div class='hlp_txt'>UDP is an interface that can be used to control from own application.</div>"	

var h_ctrl = "<div class='hlp_head'>Control</div><div class='hlp_txt'>Sockets/Relays<br><hr>\
<span class=hlp_t style='background:#080'>Green</span>&nbsp;= switched on<br>\
<span class=hlp_t style='background:#624F4F'>Brown</span>&nbsp;= switched off<br>\
<span class=hlp_t style='background:#089DF4'>Blue</span>&nbsp;= switched on HoldOn<br>\
<span class=hlp_t style='background:#033451'>Dark blue</span>&nbsp;= switched off HoldOn<br>\
<span class=hlp_t style='background:#75997B'>Light green</span>&nbsp;= blocked switched on<br>\
<span class=hlp_t style='background:#958787'>Light Brown</span>&nbsp;= blocked switched off<br>\
<span class=hlp_t style='box-shadow: 0 0 0 1px #fff inset;'>Frame white</span>&nbsp;= Blinking<br>\
<span>IO = Switched by IO</span><br>\
<span>W = Wait for switching</span><br>\
<span>K = Keepalive is on</span><br>\
<span>B = Blinking is on</span><br>\
<span>P = Impulse is on</span><br>\
<span>S = Switched by Sensor</span><br><hr>\
<br></div>"
h_ctrl += "<div class='hlp_txt'>IO Input/Output<br><hr>\
<i>Output</i><br>\
<span class=hlp_t style='background:#080'>Green</span>&nbsp;= switched on<br>\
<span class=hlp_t style='background:#624F4F'>Brown</span>&nbsp;= switched off<br>\
<span class=hlp_t style='background:#089DF4'>Blue</span>&nbsp;= switched on HoldOn<br>\
<span class=hlp_t style='background:#033451'>Dark blue</span>&nbsp;= switched off HoldOn<br>\
<span class=hlp_t style='box-shadow: 0 0 0 1px #fff inset;'>Frame white</span>&nbsp;= Blinking<br>\
<i>Input</i><br>\
<span class=hlp_t style='background:#75997B'>Light green</span>&nbsp;= '1'<br>\
<span class=hlp_t style='background:#958787'>Light Brown</span>&nbsp;= '0'<br></div>"

var sv_name = "<div class='hlp_head'>Name</div><div class='hlp_txt'>The name can amount up to 16 (ASCII) characters. Special characters are 2-4 characters long.</div>"

var sv_sper = "<div class='hlp_head'>Locking</div><div class='hlp_txt'>Locks relay/socket for control.<br><br>The lock does not apply to the timers.</div>"

var sv_imp = "<div class='hlp_head'>Impulse</div><div class='hlp_txt'>Relay for the predetermined time (max 65535 seconds = 18.2h.):<br>\
	<br>\
	at chosen [on]  - switched on (relay normal off).<br>\
	at chosen [off] - switched off (relay normal on).<br>\
	<br>\
	It is used to control external devices that require a switching pulse. This function has the highest priority. All other switching operations (timers, etc.) will be switched as a pulse.</div>"

var sv_str = "<div class='hlp_head'>at Start</div><div class='hlp_txt'>After <b>cold start</b> (switching on, restart after a power failure), the following switching behavior occurs for the relays/sockets:<br>\
[off] - off at start.<br>\
[on]  - on - possibly with delay [after (s)].<br>\
[rs]  - restoring the last state - possibly with delay [after (s)].<br>\
	<p>The delay may be a maximum of 65,535 seconds =1092 minutes, or 18.2 hours.</p></div>"

var sv_bt = "<div class='hlp_head'>Boot Time</div><div class='hlp_txt'>Displays elapsed seconds since the restart - for the time delay after the start important: It helps to see how far the boot process has progressed.</div>"

var sv_sw = "<div class='hlp_head'>Switch</div><div class='hlp_txt'>The relay/socket can be switched - for an interval of max. 65,535 seconds (18,2h) - on or off. The action performed, is indicated in the button and depends on the state of the relay/socket.</div>"

var sv_temp = "<div class='hlp_head'>Thermostat</div><div class='hlp_txt'>Relay/socket is switched, if the measured temperature according to the setting: is less than or greater. In order to avoid the repeated switching of the switching threshold is the hysteresis = ±0.5°C.</div>" 

var sv_holdon = "<div class='hlp_head'>HoldOn behaviour</div><div class='hlp_txt'>Relay or IO is switched on as long as the key is held down. Two relays or IO's can be used for +/- control, like a dimmer.</div>" 

var sv_icon = "<div class='hlp_head'>Button Symbol</div><div class='hlp_txt'>Displays <i>HTML Unicode UTF-8 characters</i> on the right of the button as a graphical representation of the function of the button.<br>The decimal value of the symbol must be entered in the field, 0 = no symbol.<br>Please note: not all symbols in all browsers can be displayed.</div>" 